package it.unibz.easytravel.tracker;


public interface IRemoteService extends android.os.IInterface {

	public static abstract class Stub extends android.os.Binder {
		private static final java.lang.String DESCRIPTOR = "it.unibz.sample.IRemoteService";


		/**
		 * Cast an IBinder object into an IRemoteService interface, generating a
		 * proxy if needed.
		 */
		public static it.unibz.easytravel.tracker.IRemoteService asInterface(
				android.os.IBinder obj) {
			if ((obj == null)) {
				return null;
			}
			it.unibz.easytravel.tracker.IRemoteService in = (it.unibz.easytravel.tracker.IRemoteService) obj
					.queryLocalInterface(DESCRIPTOR);
			if ((in != null)) {
				return in;
			}
			return new it.unibz.easytravel.tracker.IRemoteService.Stub.Proxy(obj);
		}

		public android.os.IBinder asBinder() {
			return this;
		}

		public boolean onTransact(int code, android.os.Parcel data,
				android.os.Parcel reply, int flags)
				throws android.os.RemoteException {
			switch (code) {
			case INTERFACE_TRANSACTION: {
				reply.writeString(DESCRIPTOR);
				return true;
			}
			}
			return super.onTransact(code, data, reply, flags);
		}

		private static class Proxy implements it.unibz.easytravel.tracker.IRemoteService {
			private android.os.IBinder mRemote;

			Proxy(android.os.IBinder remote) {
				mRemote = remote;
			}

			public android.os.IBinder asBinder() {
				return mRemote;
			}

			public java.lang.String getInterfaceDescriptor() {
				return DESCRIPTOR;
			}
		}
	}
}
